const mongoose = require('../../db');

const userSchema = new mongoose.Schema({
    username: { type: String, required: true, unique: true },
    password: { type: String },
});

const User = mongoose.model('User', userSchema);

module.exports = User;